import Vue from 'vue'
import App from './App.vue'
import './styles/bootstrap.css'
import moment from 'moment'
Vue.config.productionTip = false
Vue.filter('bb',function (input) {
  return input+'bb'
})
Vue.filter ('price',function(input) {
  console.log(input);
  console.log(typeof input);
  return new Number(input).toFixed(2)
})
Vue.filter('time',function(input) {
  return moment(input).format('YYYY-MM-DD HH:mm:ss')
})
new Vue({
  render: h => h(App),
}).$mount('#app')
